﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using QLTV.DAL;
using QLTV.Public;

namespace QLTV.BLL
{
    public class CTPhieuBLL
    {
        CTPhieuDAL ctpDAL;
        public CTPhieuBLL()
        {
            ctpDAL = new CTPhieuDAL();
        }
        public int nhapCTP(PhieuSachDTO p, CTPhieuDTO c)
        {
            try
            {
                return ctpDAL.nhapCTP(p,c);
            }
            catch (SqlException ex)
            {

                throw ex;
            }
        }
    }
}
